﻿using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;

namespace WebService1
{
    /// <summary>
    /// UserLogin 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    // 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务，请取消对下行的注释。
    // [System.Web.Script.Services.ScriptService]
    public class UserLogin : System.Web.Services.WebService
    {       
        [WebMethod]
        public OperationReturn login(String userName, String passWord) 
        {
            OperationReturn ret=new OperationReturn();
            ret.returnCode = "00000";
            return ret;
        }
    }
    public partial class OperationReturn
    {

        private string returnCodeField;

        private string returnCodeDescField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
        public string returnCode
        {
            get
            {
                return this.returnCodeField;
            }
            set
            {
                this.returnCodeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
        public string returnCodeDesc
        {
            get
            {
                return this.returnCodeDescField;
            }
            set
            {
                this.returnCodeDescField = value;
            }
        }
    }
}
